Don't return value from void function
authorAlexander Larsson <alexl@redhat.com>
Wed, 1 Jul 2009 08:11:15 +0000 (10:11 +0200)
committerAlexander Larsson <alexl@redhat.com>
Wed, 1 Jul 2009 08:27:54 +0000 (10:27 +0200)
This fixes the previous commit where the return value was removed.

gdk/gdkwindow.c

index f635a0722cd5dcfebd5d032ccca7510958fd41e4..326c9837d39a1b689e0805c0760b5c14bc0695dd 100644 (file)
@@ -7031,7 +7031,7 @@ gdk_window_get_root_coords (GdkWindow *window,
 {
   GdkWindowObject *private;
 
-  g_return_val_if_fail (GDK_IS_WINDOW (window), 0);
+  g_return_if_fail (GDK_IS_WINDOW (window));
 
   private = (GdkWindowObject *) window;
 
@@ -7048,8 +7048,6 @@ gdk_window_get_root_coords (GdkWindow *window,
                                                              x + private->abs_x,
                                                              y + private->abs_y,
                                                              root_x, root_y);
-
-  return TRUE;
 }